

<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">


    <div class="row mt10">
        <div class="col-sm-2">
            <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="start.date" is-open="start.opened" readonly ng-click="open(start)" placeholder="开始时间"/>
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="end.date" is-open="end.opened" readonly ng-click="open(end)" placeholder="结束时间"/>
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.cardno2" placeholder="身份证号">
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.name3" placeholder="姓名"> 
        </div>
        <div class="col-sm-2">
            <button class="btn btn-block btn-info" ng-click="addcar()">添加车辆</button> 
        </div>
        <div class="col-sm-2">
            <button class="btn btn-block btn-info">搜索</button> 
        </div>

    </div>

</div>
<!-- <a ng-click="addcar()" class="btn btn-success btn-xs">添加车辆</a> -->
</div>
</div>
<!-- searchArea -->

<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered" style="display: table; width: 100%;table-layout:fixed;">
            <thead>
                <tr>
                    <th class="col-md-1 text-center">car_code</th>
                    <th class="col-md-2 text-center">车牌号码</th>
                    <th class="col-md-1 text-center">车辆类型</th>
                    <th class="col-md-1 text-center">发布时间</th>
                    <th class="col-md-1 text-center">状态</th>
                    <th class="col-md-1 text-center">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="text-center">{{obj.car_code}}</td>
                    <td class="text-center">{{obj.car_number}}</td>
                    <td class="text-center">{{obj.car_type}}</td>
                    <td class="text-center">{{obj.otime}}</td>
                    <td class="text-center">{{obj.state}}</td>
                    <td class="text-center">
                        <a ng-click="edit(obj.car_code)" class="btn btn-primary btn-xs">编辑</a>
                        <a ng-click="seeinfo(obj.car_code)" class="btn btn-success btn-xs">详情</a>
                        <a ng-click="delete(obj.id)" class="btn btn-danger btn-xs">删除</a>
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="text-right">
             <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="load()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>
    </div>
</div>

</div>